package com.touzi.mapper;

import com.touzi.beans.dbs.dingdan.AUserDingd;
import com.touzi.beans.dbs.dingdan.Dingdan;
import com.touzi.beans.dbs.dingdan.NewDingdan;

import java.util.List;
import java.util.Map;

public interface DingdanMapper {
    int insertNewReco(List<NewDingdan> dingdans);

    int insertANewReco(NewDingdan dingdan);

    int countAll();

    List<Dingdan> getList(int page);

    int updateDDSucc(Map<String, String> map);

    List<AUserDingd> getAUserDd(int id);

    /***
     * 通过订单号查找订单
     * @param no
     * @return
     */
    Dingdan getAdingdByNo(String no);
}
